package com.neusoft.rental.po;

//场地申请类
public class Placeappointment {
    private String userid; //用户id
    private Integer placeid; //场地id
    private String starttime; //场地预约开始时间
    private String endtime; //场地预约归还时间
    private String finish; //预约完成方式（按时，超时归还，未完成为null）
    private Integer judge; //预约申请情况（待审核，院级审核通过，校级审核通过）
    private Place place; //关联场地，一对一
    private User user; //关联用户，一对一

    @Override
    public String toString() {
        return "Placeappointment{" +
                "userid='" + userid + '\'' +
                ", placeid=" + placeid +
                ", starttime='" + starttime + '\'' +
                ", endtime='" + endtime + '\'' +
                ", finish='" + finish + '\'' +
                ", judge=" + judge +
                ", place=" + place +
                ", user=" + user +
                '}';
    }

    //get,set方法...

    public Place getPlace() {
        return place;
    }

    public void setPlace(Place place) {
        this.place = place;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getPlaceid() {
        return placeid;
    }

    public void setPlaceid(Integer placeid) {
        this.placeid = placeid;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getFinish() {
        return finish;
    }

    public void setFinish(String finish) {
        this.finish = finish;
    }

    public Integer getJudge() {
        return judge;
    }

    public void setJudge(Integer judge) {
        this.judge = judge;
    }
}
